#include "ShipShieldMonitor.h"

using namespace view;

ShipShieldMonitor::ShipShieldMonitor(void) : SDLProgressMonitor()
{
}

ShipShieldMonitor::ShipShieldMonitor(int min, int max, int current) : SDLProgressMonitor(min, max, current)
{
}

ShipShieldMonitor::~ShipShieldMonitor(void)
{
}

void ShipShieldMonitor::update(Observable* shipShieldProperty)
{
	ShipShieldProperty* shipShield = static_cast<ShipShieldProperty*>(shipShieldProperty);
	currentProgress = shipShield->getProgress();
}
